package com.itheima.stock.service;

import com.itheima.stock.pojo.SysUser;
import com.itheima.stock.vo.req.LoginReqVo;
import com.itheima.stock.vo.req.UsersPageReqVo;
import com.itheima.stock.vo.resp.LoginRespVo;
import com.itheima.stock.vo.resp.PageVo;
import com.itheima.stock.vo.resp.R;
import com.itheima.stock.vo.resp.UsersPageRespVo;

import java.util.List;

/**
 * @ClassName SysUserService
 * @Description TODO
 * @date 2023/2/23 15:41
 * @Version 1.0
 */
public interface SysUserService {
    /**
     *
     * @return
     */
    List<SysUser>  getAllSysUser();

    /**
     * 登录接口
     * @param vo
     * @return
     */
    R<LoginRespVo> login(LoginReqVo vo);

    PageVo<UsersPageRespVo> getUserPage(UsersPageReqVo vo);
}
